package org.example.domain.strategy.service.armory;

import java.util.Date;

/**
 * 抽奖分配调度
 */
public interface IStrategyDispatch {
    Integer getRandomAwardId(Long strategyId);


    Integer getRandomAwardId(Long strategyId,String ruleWeightValue);

    /**
     * 库存扣减
     * @param strategyId
     * @param awardId
     * @return
     */
    Boolean subtractionAwardStock(Long strategyId,Integer awardId, Date endDateTime);
}
